package com.newjiabo.ski.domain;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newjiabo.common.annotation.Excel;
import com.newjiabo.common.core.domain.BaseEntity;

/**
 * 套餐配置对象 ski_set_meal
 *
 * @author ruoyi
 * @date 2023-09-18
 */
@ApiModel(value = "套餐配置对象")
public class SkiSetMeal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 套餐名称
     */
    @ApiModelProperty(value = "套餐名称")
    @Excel(name = "套餐名称")
    private String setMealName;

    /**
     * 套餐描述
     */
    @ApiModelProperty(value = "套餐描述")
    @Excel(name = "套餐描述")
    private String setMealDesc;

    /**
     * 素材最大值（包含）
     */
    @ApiModelProperty(value = "素材最大值（包含）")
    @Excel(name = "素材最大值", readConverterExp = "包=含")
    private Long sourceMax;

    /**
     * 素材最小值（包含）
     */
    @ApiModelProperty(value = "素材最小值（包含）")
    @Excel(name = "素材最小值", readConverterExp = "包=含")
    private Long sourceMin;

    /**
     * 套餐金额
     */
    @ApiModelProperty(value = "套餐金额")
    @Excel(name = "套餐金额")
    private Double price;

    /**
     * 套餐状态
     * @see com.newjiabo.ski.domain.enums.SetMealStatus
     */
    @ApiModelProperty(value = "套餐状态:open / close")
    @Excel(name = "套餐状态")
    private String setMealStatus;

    /**
     * 套餐时长
     */
    @ApiModelProperty(value = "套餐时长")
    @Excel(name = "套餐时长")
    private Long duration;

    /**
     * 删除标志 true/false 删除/未删除
     */
    @ApiModelProperty(value = "删除标志 true/false 删除/未删除")
    private Boolean delFlag;

    /**
     * 套餐缩略图
     */
    @ApiModelProperty(value = "套餐缩略图")
    private String thumbnail;

    /**
     * 空境数量
     */
    @ApiModelProperty(value = "空境数量")
    private Integer airspaceNumber;


    public Integer getAirspaceNumber() {
        return airspaceNumber;
    }

    public void setAirspaceNumber(Integer airspaceNumber) {
        this.airspaceNumber = airspaceNumber;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setSetMealName(String setMealName) {
        this.setMealName = setMealName;
    }

    public String getSetMealName() {
        return setMealName;
    }

    public void setSetMealDesc(String setMealDesc) {
        this.setMealDesc = setMealDesc;
    }

    public String getSetMealDesc() {
        return setMealDesc;
    }

    public void setSourceMax(Long sourceMax) {
        this.sourceMax = sourceMax;
    }

    public Long getSourceMax() {
        return sourceMax;
    }

    public void setSourceMin(Long sourceMin) {
        this.sourceMin = sourceMin;
    }

    public Long getSourceMin() {
        return sourceMin;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public void setSetMealStatus(String setMealStatus) {
        this.setMealStatus = setMealStatus;
    }

    public String getSetMealStatus() {
        return setMealStatus;
    }

    public void setDuration(Long duration) {
        this.duration = duration;
    }

    public Long getDuration() {
        return duration;
    }

    public void setDelFlag(Boolean delFlag) {
        this.delFlag = delFlag;
    }

    public Boolean getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("setMealName", getSetMealName())
                .append("setMealDesc", getSetMealDesc())
                .append("sourceMax", getSourceMax())
                .append("sourceMin", getSourceMin())
                .append("price", getPrice())
                .append("setMealStatus", getSetMealStatus())
                .append("duration", getDuration())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("delFlag", getDelFlag())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
